(function () {
    'use strict';

    var officeAddin = angular.module('reportOfficeAddin');

    // load routes
    officeAddin.config(['$routeProvider', routeConfigurator]);

    function routeConfigurator($routeProvider) {
        $routeProvider
          .when('/', {
              templateUrl: 'app/home/home.html',
              controller: 'homeController',
              controllerAs: 'vm'
          });

        $routeProvider.otherwise({ redirectTo: '/' });
    }

})();
